package com.wpw.web.work.batchrefit;

import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.function.Supplier;

/**
 * @Description:
 * @ClassName: BuyAndSellDeal
 * @CreateDate: 2020-06-14 10:26
 * @author: wupengwei
 */
public class BuyAndSellDeal {


    private CountDownLatch countDownLatch;

    public void deal(List<String> tool, Supplier supplier) {
        countDownLatch = new CountDownLatch(tool.size());


        Object o = supplier.get();
    }


    public CountDownLatch getCountDownLatch() {
        return countDownLatch;
    }
}